package tasktracker.abstraction.extensions;

import tasktracker.abstraction.TaskStatus;

class TaskStatusTracker {
	private boolean completed;

	public void update(int status) {
		if (!completed && TaskStatus.isCompletedAnyway(status))
			completed = true;
	}

	public boolean isCompleted() {
		return completed;
	}

}
